<?php
	$picture = new Picture();	
	if (isset($picture_id)) {		
		$picture->select($picture_id);
	}
	
	if (isset($location_id)) {		
		include "tpl/edit_location_picture_form.php";
	} elseif ($picture || isset($add))
		include "tpl/edit_picture_form.php";
	else
		echo "Hình Ảnh Không Tồn Tại";
?>